package com.personalsystem.role.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import com.personalsystem.role.bean.Role;
import com.personalsystem.role.dao.RoleDao;
import com.personalsystem.role.service.RoleService;
import com.personalsystem.tool.hibernate.BaseDao;
import com.personalsystem.tool.hibernate.BaseManagerImpl;


@Component("roleService")
public class RoleServiceImpl extends BaseManagerImpl<Role> implements RoleService{
	
	@Autowired
	@Qualifier("roleDao")
	private RoleDao dao;
	
	@Override
	protected BaseDao<Role> getDao() {
		// TODO Auto-generated method stub
		return this.dao;
	}

}
